package org.zjkoye.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.zjkoye.crm.entity.Region;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zjkoye
 * @since 2024-06-23
 */
public interface RegionService extends IService<Region> {

    IPage<Region> pageList(int pageSize, int currentPage, String name);

    boolean isExist(String name);
}
